<%--
  Created by IntelliJ IDEA.
  User: Loop
  Date: 2022/4/4
  Time: 17:05
  To change this template use File | Settings | File Templates.
--%>
<!doctype html>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html lang="en">
<head>
    <title>登录</title>
    <link href="../bootstrap/bootstrap.css">
<%--    <link rel="stylesheet" href="/css/login.css" type="text/css">--%>
</head>
<body>
<center>
<form class="form-horizontal" method="post" action="/healmyself/user?method=login">
    <%-- 用户账户 --%>
    <div class="form-group">
      <label for="inputAccount" class="col-sm-2 control-label">Account</label>
      <div class="col-sm-10">
        <input type="text" name="account"
               class="form-control" id="inputAccount" placeholder="Account">
      </div>
    </div>
    <%-- 用户密码 --%>
    <div class="form-group">
      <label for="inputPassword" class="col-sm-2 control-label">Password</label>
      <div class="col-sm-10">
        <input type="password" name="password"
               class="form-control" id="inputPassword" placeholder="Password">
      </div>
    </div>
    <%-- 登入 注册 按钮 --%>
    <div class="form-group">
      <div class="col-sm-offset-2 col-sm-10">
        <button type="submit" class="btn btn-default">Login</button>
        <button type="button" class="btn btn-default" onclick='window.open("register.jsp")'>Register</button>
      </div>
    </div>
</form>
</center>
<%--CSDN上的登陆界面样式--%>
<%--<div id="loginDiv">--%>
<%--    <form action="/user?method=login" id="form">--%>
<%--        <h1 style="text-align: center;color: aliceblue;">登陆</h1>--%>
<%--        <p>用户名:<input id="inputName" name="inputName" type="text"><label id="name_trip"></label></p>--%>

<%--        <p>密码:  <input id="inputPassword" name="inputPassword" type="password"><label id="password_trip"></label></p>--%>

<%--        <div style="text-align: center;margin-top: 30px;">--%>
<%--            <input type="submit" class="button" value="登陆">--%>
<%--        </div>--%>
<%--    </form>--%>
<%--</div>--%>
</body>
</html>
